home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20021006-20030409
/
000183_ebh@burntmail.com_Tue Dec 17 13:49:12 EST 2002.msg
< prev
next >
Wrap
Text File
|
2003-04-08
|
2KB
|
46 lines
Article: 13965 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: ebh@burntmail.com (EBH)
Newsgroups: comp.protocols.kermit.misc
Subject: Control characters with minput
Date: 17 Dec 2002 10:34:42 -0800
Organization: http://groups.google.com/
Lines: 28
Message-ID: <6b84683a.0212171034.6c28e6fe@posting.google.com>
NNTP-Posting-Host: 63.127.208.96
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1040150082 14358 127.0.0.1 (17 Dec 2002 18:34:42 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 17 Dec 2002 18:34:42 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13965
I recently upgraded from kermit version 6.0.192 to kermit version
8.0.206, and it seems to me that minput functions differently. I have
a kermit script that waits for an ENQ from the remote computer nad
sends a transaction is response to the ENQ.
I wrote the following code to search for ENQ or EOT and move to the
correct part of the script accordingly:
minput 60 \005 \004
switch \v(minput) {
:0, echo {*** No response received, redialing ***}, -
goto RESTART, break
:1, echo {Transmitting \%c - \%k:\%m}, -
goto ENQ, break
:2, echo {*** EOT received, redialing ***}, -
goto RESTART, break
:default, echo {Invalid resonse: \v(input), sending NAK}, -
increment num'enq, output \021, goto START
}
This worked fine in kermit 6.0.192, but in kermit 8.0.206 even though
I get a Ctrl-E and the command "echo \fcode(\v(input))" prints 5, but
the switch always executes the code for 0. And when I issue "echo
\v(minput)" it returns 0.
So, the question is as follows: Did this cahnge in kermit 7 or 8. And
if it did, how can use minput to search for multiple control
characters?